<form action='' class='test' id='tester'>
<pre><span class='key'>new</span> ApplicationError({
  <span class='attribute'>subject</span>: "<input type='text' id='subject' class='wide' />", 
  <span class='attribute'>content</span>: "<input type='text' id='content' class='wide' />"
}).<input type='submit' value='save()' id='save'/>;</pre></form>

<h2>Sent messages </h2>
<div class="table_container">
<table style='text-align:left;'>
	<thead>
		<tr>
			<th>subject</th>
			<th>content</th>
		</tr>
	</thead>
	<tbody id='errors'>
		
	</tbody>
	<tfoot>
		<tr>
			<td colspan='2'>Sent test messages appear above.  It may take a few seconds for the message to appear.</td>
		</tr>
	</tfoot>
	
</table>
</div>


<script type='text/javascript' src='/jmvc/include.js'></script>
<script type='text/javascript'>
	include.plugins('remote','controller','element');
	
	APPLICATION_KEY = '<%=current_user.crypted_key%>'
	
	include('/jmvc/plugins/error/error',{path: '/home/convert'}, '/javascripts/test_send')
	include.opera();
</script>